/**
 * 登录
 */
import request from '../utils/request';

/**
 * 用户登录
 * @param params
 * @returns {Object}
 */
export async function login(params) {
  return request('/v1/admin/admin/login',{
    method:'POST',
    body:params
  });
}
/**
 * 修改密码
 */
export async function edit(params) {
  return request('/v1/admin/admin/edit',{
    method:'POST',
    body:params
  });
}
